import 'package:flutter/material.dart';

class WalletCardPattern extends CustomPainter {
    @override
    void paint(Canvas canvas, Size size) {


Path path_1 = Path();
    path_1.moveTo(size.width*0.6117547,size.height*0.02680386);
    path_1.lineTo(size.width*0.9115350,size.height*0.2947702);
    path_1.lineTo(size.width*0.9115350,size.height*0.7478526);
    path_1.lineTo(size.width*0.6117547,size.height*0.4774596);
    path_1.lineTo(size.width*0.6117547,size.height*0.02680386);
    path_1.close();

Paint paint2 = Paint()..style=PaintingStyle.fill;
paint2.color = Colors.white.withOpacity(0.1);
canvas.drawPath(path_1,paint2);

Path path_2 = Path();
    path_2.moveTo(size.width*1.210264,size.height*0.02707540);
    path_2.lineTo(size.width*0.9104930,size.height*0.2947607);
    path_2.lineTo(size.width*0.9104930,size.height*0.7473684);
    path_2.lineTo(size.width*1.210264,size.height*0.4772561);
    path_2.lineTo(size.width*1.210264,size.height*0.02707540);
    path_2.close();

Paint paint3 = Paint()..style=PaintingStyle.fill;
paint3.color = Colors.white.withOpacity(0.1);
canvas.drawPath(path_2,paint3);

Path path_3 = Path();
    path_3.moveTo(size.width*0.6117547,size.height*0.02828772);
    path_3.lineTo(size.width*0.9115350,size.height*-0.2421053);
    path_3.lineTo(size.width*1.211313,size.height*0.02828772);
    path_3.lineTo(size.width*1.211313,size.height*0.03031011);
    path_3.lineTo(size.width*0.9115350,size.height*0.3007032);
    path_3.lineTo(size.width*0.6117547,size.height*0.03031011);
    path_3.lineTo(size.width*0.6117547,size.height*0.02828772);
    path_3.close();

Paint paint4 = Paint()..style=PaintingStyle.fill;
paint4.color = Colors.white.withOpacity(0.1);
canvas.drawPath(path_3,paint4);

Path path_4 = Path();
    path_4.moveTo(size.width*-0.2102804,size.height*0.2838358);
    path_4.lineTo(size.width*0.08949907,size.height*0.5518035);
    path_4.lineTo(size.width*0.08949907,size.height*1.004884);
    path_4.lineTo(size.width*-0.2102804,size.height*0.7344912);
    path_4.lineTo(size.width*-0.2102804,size.height*0.2838358);
    path_4.close();

Paint paint5 = Paint()..style=PaintingStyle.fill;
paint5.color = Colors.white.withOpacity(0.1);
canvas.drawPath(path_4,paint5);

Path path_5 = Path();
    path_5.moveTo(size.width*0.3882290,size.height*0.2841074);
    path_5.lineTo(size.width*0.08845701,size.height*0.5517930);
    path_5.lineTo(size.width*0.08845701,size.height*1.004400);
    path_5.lineTo(size.width*0.3882290,size.height*0.7342912);
    path_5.lineTo(size.width*0.3882290,size.height*0.2841074);
    path_5.close();

Paint paint6 = Paint()..style=PaintingStyle.fill;
paint6.color = Colors.white.withOpacity(0.1);
canvas.drawPath(path_5,paint6);

Path path_6 = Path();
    path_6.moveTo(size.width*-0.2102804,size.height*0.2853200);
    path_6.lineTo(size.width*0.08949907,size.height*0.01492684);
    path_6.lineTo(size.width*0.3892780,size.height*0.2853200);
    path_6.lineTo(size.width*0.3892780,size.height*0.2873421);
    path_6.lineTo(size.width*0.08949907,size.height*0.5577368);
    path_6.lineTo(size.width*-0.2102804,size.height*0.2873421);
    path_6.lineTo(size.width*-0.2102804,size.height*0.2853200);
    path_6.close();

Paint paint7 = Paint()..style=PaintingStyle.fill;
paint7.color = Colors.white.withOpacity(0.1);
canvas.drawPath(path_6,paint7);

Path path_7 = Path();
    path_7.moveTo(size.width*0.5350467,size.height*0.2559832);
    path_7.lineTo(size.width*0.6600421,size.height*0.3677123);
    path_7.lineTo(size.width*0.6600421,size.height*0.5566281);
    path_7.lineTo(size.width*0.5350467,size.height*0.4438877);
    path_7.lineTo(size.width*0.5350467,size.height*0.2559832);
    path_7.close();

Paint paint8 = Paint()..style=PaintingStyle.fill;
paint8.color = Colors.white.withOpacity(0.1);
canvas.drawPath(path_7,paint8);

Path path_8 = Path();
    path_8.moveTo(size.width*0.7845981,size.height*0.2560958);
    path_8.lineTo(size.width*0.6596075,size.height*0.3677088);
    path_8.lineTo(size.width*0.6596075,size.height*0.5564246);
    path_8.lineTo(size.width*0.7845981,size.height*0.4438000);
    path_8.lineTo(size.width*0.7845981,size.height*0.2560958);
    path_8.close();

Paint paint9 = Paint()..style=PaintingStyle.fill;
paint9.color = Colors.white.withOpacity(0.1);
canvas.drawPath(path_8,paint9);

Path path_9 = Path();
    path_9.moveTo(size.width*0.5350467,size.height*0.2566014);
    path_9.lineTo(size.width*0.6600421,size.height*0.1438596);
    path_9.lineTo(size.width*0.7850350,size.height*0.2566014);
    path_9.lineTo(size.width*0.7850350,size.height*0.2574446);
    path_9.lineTo(size.width*0.6600421,size.height*0.3701860);
    path_9.lineTo(size.width*0.5350467,size.height*0.2574446);
    path_9.lineTo(size.width*0.5350467,size.height*0.2566014);
    path_9.close();

Paint paint10 = Paint()..style=PaintingStyle.fill;
paint10.color = Colors.white.withOpacity(0.1);
canvas.drawPath(path_9,paint10);

Path path_10 = Path();
    path_10.moveTo(size.width*0.5910070,size.height*0.8613754);
    path_10.lineTo(size.width*0.7160023,size.height*0.7486351);
    path_10.lineTo(size.width*0.8409977,size.height*0.8613754);
    path_10.lineTo(size.width*0.8409977,size.height*0.8622211);
    path_10.lineTo(size.width*0.7160023,size.height*0.9749614);
    path_10.lineTo(size.width*0.5910070,size.height*0.8622211);
    path_10.lineTo(size.width*0.5910070,size.height*0.8613754);
    path_10.close();

Paint paint11 = Paint()..style=PaintingStyle.fill;
paint11.color = Colors.white.withOpacity(0.1);
canvas.drawPath(path_10,paint11);

}

@override
bool shouldRepaint(covariant CustomPainter oldDelegate) {
    return true;
}
}